package com.junzhiit.nengji.model;


import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.model.BaseModel;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class IncomeHistory extends BaseModel{

	private static final long serialVersionUID = 1L;

	private String incomeUserId;
	
	private String incomeShopId;
	
	private String userId;
	
	private String shopId;
	
	private Double transactionMoney;
	
	private Double commissionRation;
	
	private Double commissionMoney;
	
	private String orderNumber;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date PayTime;
	
	private Integer transactionType;
	
	private Integer incomeType;
	
	private String goodsId;
	
	private String orderGoodsId;
	
	private Double goodsPrice;
	
	private Integer goodsNumber;
	
	private Integer eventType;

	public String getIncomeUserId() {
		return incomeUserId;
	}

	public void setIncomeUserId(String incomeUserId) {
		this.incomeUserId = incomeUserId;
	}

	public String getIncomeShopId() {
		return incomeShopId;
	}

	public void setIncomeShopId(String incomeShopId) {
		this.incomeShopId = incomeShopId;
	}
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public Double getTransactionMoney() {
		return transactionMoney;
	}

	public void setTransactionMoney(Double transactionMoney) {
		this.transactionMoney = transactionMoney;
	}

	public Double getCommissionRation() {
		return commissionRation;
	}

	public void setCommissionRation(Double commissionRation) {
		this.commissionRation = commissionRation;
	}

	public Double getCommissionMoney() {
		return commissionMoney;
	}

	public void setCommissionMoney(Double commissionMoney) {
		this.commissionMoney = commissionMoney;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Date getPayTime() {
		return PayTime;
	}

	public void setPayTime(Date payTime) {
		PayTime = payTime;
	}

	public Integer getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(Integer transactionType) {
		this.transactionType = transactionType;
	}

	public Integer getIncomeType() {
		return incomeType;
	}

	public void setIncomeType(Integer incomeType) {
		this.incomeType = incomeType;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getOrderGoodsId() {
		return orderGoodsId;
	}

	public void setOrderGoodsId(String orderGoodsId) {
		this.orderGoodsId = orderGoodsId;
	}

	public Double getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getGoodsNumber() {
		return goodsNumber;
	}

	public void setGoodsNumber(Integer goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	public Integer getEventType() {
		return eventType;
	}

	public void setEventType(Integer eventType) {
		this.eventType = eventType;
	}
	
	
	
}
